﻿using Digitalmes.Application.Sys.Roles;

namespace Digitalmes.Application.Sys.Users;

/// <summary>
/// 用户角色关联关系
/// </summary>
public sealed class UserRoleDto : Dto
{
    /// <summary>
    /// 用户Id
    /// </summary>
    public long UserId { get; set; }

    /// <summary>
    /// 角色Id
    /// </summary>
    public long RoleId { get; set; }

    /// <summary>
    /// 角色
    /// </summary>
    public SysRoleDto? Role { get; set; }
}
